package net.csdn.business.webhook.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.time.Duration;
import java.util.concurrent.TimeUnit;


/**
 * webHook通知的okhttps组件配置参数文件
 */
@Data
@Component
@ConfigurationProperties(prefix = "atomgit.webhook.okhttp")
public class OkHttpsProperties {
    private long connectTimeout=2;
    private long readTimeout=10;
    private long writeTimeout=10;
}
